package com.atguigu.ssyx.product.service;


import com.atguigu.ssyx.model.product.Category;
import com.atguigu.ssyx.model.sys.Ware;
import com.atguigu.ssyx.vo.product.CategoryQueryVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 商品三级分类 服务类
 * </p>
 *
 * @author atguigu
 * @since 2025-09-13
 */
public interface CategoryService extends IService<Category> {
    //查询分类列表
    IPage<Category> selectCategoryQuery(Page<Category> pageparam, CategoryQueryVo categoryQueryVo);
    //通过分类名称查询分类
    Ware selectCategoryByName(String name);
    //通过id更新分类
    void updateIsdeleteById(Long id);
}
